/*
 * @Author: lwHao
 * @Date: 2020-09-18 16:06:15
 * @LastEditors: lwHao
 * @LastEditTime: 2020-09-18 16:13:38
 */
export default function ({ store, redirect }) {
  if (store.state.user) {
    return redirect('/')
  }
}